package com.jaychen.spring.factory.config;

/**
 * @Author Jay Chen
 * @Date 2020-11-09 07:57
 * @Version 1.0
 */
public interface BeanFactory {

    /**
     * 获取bean
     *
     * @param beanName bean name
     * @return object
     */
    Object getBean(String beanName) throws IllegalAccessException, NoSuchFieldException, InstantiationException;

}
